package com.ldh.config_client.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiuDehuai
 * @fileName:HiController
 * @Date:2020/10/11 13:37
 * <author>     <time>     <version>    <desc>
 * 作者姓名       修改时间    版本号       描述
 */
@RestController
public class HiController {
    @Value("${foo}")
    String foo;

    @RequestMapping("/foo")
    public String hi() {
        return foo;
    }

}
